package housing.task2.factory;

import housing.task2.deserializator.AbstractReader;
import housing.task2.deserializator.JSNReader;
import housing.task2.parser.AbstractParser;
import housing.task2.parser.JSNParser;
import housing.task2.serializator.AbstractWriter;
import housing.task2.serializator.JSNWriter;

/**
 * Created by IntelliJ IDEA.
 * User: Linderhof
 * Date: 30.11.2010
 * Time: 20:43:33
 */
public class JSNFactory implements IAbstractFactory {
    public AbstractReader createReader() {
        return new JSNReader();
    }

    public AbstractWriter createWriter() {
        return new JSNWriter();
    }

    public AbstractParser createParser() {
        return new JSNParser();
    }
}
